package com.owc.domain.dto;

import com.owc.common.converter.OutputConverter;
import com.owc.domain.entity.Banner;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author xiaom
 * @Date 2020/2/24 14:34
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("banner")
public class BannerDTO implements OutputConverter<BannerDTO, Banner> {

    /**
     * banner名称
     */
    @ApiModelProperty("banner名称")
    private String name;

    /**
     * 图片地址
     */
    @ApiModelProperty("图片地址")
    private String picUrl;

    /**
     * 跳转地址
     */
    @ApiModelProperty("跳转地址")
    private String jumpUrl;

    @ApiModelProperty("bannerId")
    private Long id;

    @ApiModelProperty("创建人名称")
    private String createName;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("排序")
    private Integer order;

    @Override
    public void customConverter(BannerDTO bannerDTO, Banner banner) {

    }
}
